Skip to main content

All Questions

Tagged with
0votes
0answers
7kviews

SSH: How to disable strict host key checking, but still be warned about new devices

I'm working for a company that involves sshing into several different devices with the same IP address and hostname, but unique private keys for ssh. What I'm trying to figure out is a way to disable ...
Patronics's user avatar
2votes
2answers
744views

Revise users which have default /bin/bash shell setting

On SLES 11 SP 2 I found out with webmin that lot of default users have the /bin/bash setting which in principle allows them to run in a SSH shell. I consider it as a possible security risk. My ...
Peter VARGA's user avatar
5votes
2answers
2kviews

How to re-write this function to avoid argument injection

I have a function in my .bashrc file that allows me to run a script on a remote server with arguments via ssh. Currently, the function contains: function runMyScript { if [ $1 = "s3" ] then ...
cpd's user avatar
  • 153
8votes
4answers
18kviews

Passwordless SSH for "System User" with NO Login Shell

I have learned a lot today messing around with ssh with RSA and creating system user accounts with no password, no login etc etc. What I was trying to do was create a user with a home directory needed ...
FreeSoftwareServers's user avatar
2votes
3answers
36kviews

Why do I get error "Could not chdir to home directory"

I work in support, and occasionally I'm given shell access to a remote Linux system. I frequently find that when the admin gives me remote access, that I get the following output upon login. [joe@...
spuder's user avatar
  • 18.6k

close